import Vue from 'vue'
import App from './App.vue'
import router from './router'
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
import {postRequest} from "./utils/api";
// 关于get请求的代码
import {getRequest} from "./utils/api";
Vue.prototype.$postRequest = postRequest;
Vue.prototype.$getRequest = getRequest;
// 将ElementUI注册为全局变量
Vue.use(ElementUI);
Vue.config.productionTip = false
new Vue({
router,
render: h => h(App)
}).$mount('#app')